home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 24 / Amiga Format AFCD24 (Feb 1998, Issue 108).iso / -in_the_mag- / emulation / amiga / uae-0.7.0b2 / src / include / filesys.h < prev    next >
C/C++ Source or Header  |  1998-01-20  |  538b  |  27 lines

  1.  /*
  2.   * UAE - The Un*x Amiga Emulator
  3.   *
  4.   * Unix file system handler for AmigaDOS
  5.   *
  6.   * Copyright 1997 Bernd Schmidt
  7.   */
  8.  
  9. #define A_FIBF_SCRIPT  (1<<6)
  10. #define A_FIBF_PURE    (1<<5)
  11. #define A_FIBF_ARCHIVE (1<<4)
  12. #define A_FIBF_READ    (1<<3)
  13. #define A_FIBF_WRITE   (1<<2)
  14. #define A_FIBF_EXECUTE (1<<1)
  15. #define A_FIBF_DELETE  (1<<0)
  16.  
  17. struct hardfiledata {
  18.     unsigned long size;
  19.     int nrcyls;
  20.     int secspertrack;
  21.     int surfaces;
  22.     int reservedblocks;
  23.     FILE *fd;
  24. };
  25.  
  26. extern struct hardfiledata *get_hardfile_data (int nr);
  27.